package lukeer.fencing;

/**
 * Generic Pair class used in MoveGeneration when identifying available pieces or fences on the board.
 *
 * User: Luke Richardson lukeer, Wafa M'Barek wmbarek
 * Date: 05/10/12
 * Time: 16:55
 */
class Pair {
    private final int x;
    private final int y;

    public Pair(int x, int y) {
        this.x = x;
        this.y = y;
    }

    /**
     * Getter for x
     *
     * @return x value in pair
     */
    public int getX() {
        return x;
    }

    /**
     * Getter for y
     *
     * @return y value in pair
     */
    public int getY() {
        return y;
    }
}
